
//////////////////////////////////////////////////////////
THIS IS A GENERIC EXAMPLE OF HOW TO DEFINE 
A TEST CASE FOR VOYANTIC UHF TESTER
EXAMPLES: point test, read test, write test, sweep test

PLEASE NOTICE!
This file is compatible with the UHF Tester demonstration tool,
but license options may limit the use
//////////////////////////////////////////////////////////




***********************************************************************
DEFINITION OF POINT TEST(S) 

- To define TOLERANCE, define
  *value (i.e. how many of the point tests may fail,
   while it is still considered as passed)

- to define a test POINT, define: 
  * frequecy(MHZ)
  * power(dBm)
  * condition (0=indifferent, 1=must response, 2=must not response)

- Format(s): 
  TOLERANCE [\tab] value
  POINT [\tab] freq [\tab] power [\tab] condition

- An example is presented below
***********************************************************************

cmd		value
TOLERANCE	0

cmd	freq	pwr	condition
POINT	900	0	1
POINT	900	-8	2
POINT	900	-5	0





***********************************************************************
DEFINITION OF READ TASK(S) 

- For READ, define: 
  * frequecy(MHZ, std:860-960, extended:800-1100)
  * power(dBm, -10 to +25)
  * memory bank (00=reserved, 01=EPC, 10=TID, 11=user)
  * wordPtr(0-127) (i.e. read start address)
  * wordCount(1-127) (i.e. number of word read from the memory)
  * number of repetitions (1-15) 
  * tolerance (0-15) (i.e. how many of the repetitions that may fail
    while it is still considered as passed)

- Format: 
  READ [\tab] freq [\tab] power [\tab] membank [\tab] 
  wordPtr [\tab] wordCount [\tab] repetitions [\tab] tolerance

- An example is presented below
***********************************************************************

cmd	freq	prw	membank	wPtr	wCount	reps	tol
READ	866	10	10	0	3	1	0





***********************************************************************
DEFINITION OF WRITE TASK(S) 

- For WRITE, define: 
  * frequecy(MHZ, std:860-960, extended:800-1100)
  * power(dBm, -10 to +25)
  * memory bank (00=reserved, 01=EPC, 10=TID, 11=user)
  * wordPtr(0-127) (i.e. read start address)
  * number of repetitions (1-15) 
  * tolerance (0-15) (i.e. how many of the repetitions that may fail
    while it is still considered as passed)
  * increment (0-255)
  * wordCount(1-127) (i.e. number of word read from the memory)
  * data (hex-format)

- Format: 
  BLOCKWRITE [\tab] freq [\tab] power [\tab] membank [\tab] wordPtr [\tab]
  repetitions [\tab] tolerance [\tab] increment [\tab] wordCount [\tab] data [\tab]

- An example is presented below
***********************************************************************

command		freq	pwr	membank	wptr	reps	tol	incr	wcount	data
BLOCKWRITE	866,00	8,00	01	3	1	0	0	1	0x0000




***********************************************************************
DEFINITION OF SWEEP TASK 

- For SWEEP, define: 
  * start frequecy(MHZ, std:860-960, extended:800-1100)
  * stop frequecy(MHZ, std:860-960, extended:800-1100)
  * frequecy step size (MHZ, std:860-960, extended:800-1100)

- Format: 
  SWEEP [\tab] startFreq [\tab] stopFreq [\tab] freqStep

- An example is presented below
***********************************************************************

command	start	stop	step
SWEEP	860	960	5
